<?php
	require("connection.php");
	session_start();
	function checkSession(){
		if(isset($_SESSION['id'])){
			return $_SESSION['id'];
		}
	}
	
	function redirect($path="index.php"){
		header("Location:$path");
	}
	
?>